import request from '@/utils/request'

// 查询就业列表列表
export function listEmploymentlist(query) {
  return request({
    url: '/employment/employmentlist/list',
    method: 'get',
    params: query
  })
}

// 查询就业列表详细
export function getEmploymentlist(employmentId) {
  return request({
    url: '/employment/employmentlist/' + employmentId,
    method: 'get'
  })
}

// 新增就业列表
export function addEmploymentlist(data) {
  return request({
    url: '/employment/employmentlist',
    method: 'post',
    data: data
  })
}

// 修改就业列表
export function updateEmploymentlist(data) {
  return request({
    url: '/employment/employmentlist',
    method: 'put',
    data: data
  })
}

// 删除就业列表
export function delEmploymentlist(employmentId) {
  return request({
    url: '/employment/employmentlist/' + employmentId,
    method: 'delete'
  })
}

// 下载导入模板
export function importTemplate() {
  return request({
    url: '/employmentinfo/excel/importTemplate',
    method: 'get'
  })
}

// 查询就业率详细
// export function getStatistical() {
//   return request({
//     url: '/statistical/findAllStatistical',
//     method: 'get',
//     baseURL: process.env.VUE_APP_BASE_API2
//   })
// }
